package com.wc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 封装项目类
 */
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer xmId;

    private String bmDm;//id

    private String xmDm;//pid

    private Integer bxLevel;

    private String bmName;

    private String xmName;

    private Integer xmDetailed;

    private Integer xmOwnerid;//授权人ID

    private Double xmJea;

    private Double xmJezb;

    private Double xmJejc;

    private Double xmJeyx;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date xmTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date xmOldtime;

    public Integer getXmId() {
        return xmId;
    }

    public void setXmId(Integer xmId) {
        this.xmId = xmId;
    }

    public String getBmDm() {
        return bmDm;
    }

    public void setBmDm(String bmDm) {
        this.bmDm = bmDm;
    }

    public String getXmDm() {
        return xmDm;
    }

    public void setXmDm(String xmDm) {
        this.xmDm = xmDm;
    }

    public Integer getBxLevel() {
        return bxLevel;
    }

    public void setBxLevel(Integer bxLevel) {
        this.bxLevel = bxLevel;
    }

    public String getBmName() {
        return bmName;
    }

    public void setBmName(String bmName) {
        this.bmName = bmName;
    }

    public String getXmName() {
        return xmName;
    }

    public void setXmName(String xmName) {
        this.xmName = xmName;
    }

    public Integer getXmDetailed() {
        return xmDetailed;
    }

    public void setXmDetailed(Integer xmDetailed) {
        this.xmDetailed = xmDetailed;
    }

    public Integer getXmOwnerid() {
        return xmOwnerid;
    }

    public void setXmOwnerid(Integer xmOwnerid) {
        this.xmOwnerid = xmOwnerid;
    }

    public Double getXmJea() {
        return xmJea;
    }

    public void setXmJea(Double xmJea) {
        this.xmJea = xmJea;
    }

    public Double getXmJezb() {
        return xmJezb;
    }

    public void setXmJezb(Double xmJezb) {
        this.xmJezb = xmJezb;
    }

    public Double getXmJejc() {
        return xmJejc;
    }

    public void setXmJejc(Double xmJejc) {
        this.xmJejc = xmJejc;
    }

    public Double getXmJeyx() {
        return xmJeyx;
    }

    public void setXmJeyx(Double xmJeyx) {
        this.xmJeyx = xmJeyx;
    }

    public Date getXmTime() {
        return xmTime;
    }

    public void setXmTime(Date xmTime) {
        this.xmTime = xmTime;
    }

    public Date getXmOldtime() {
        return xmOldtime;
    }

    public void setXmOldtime(Date xmOldtime) {
        this.xmOldtime = xmOldtime;
    }

    @Override
    public String toString() {
        return "Project{" +
                "xmId=" + xmId +
                ", bmDm='" + bmDm + '\'' +
                ", xmDm='" + xmDm + '\'' +
                ", bxLevel=" + bxLevel +
                ", bmName='" + bmName + '\'' +
                ", xmName='" + xmName + '\'' +
                ", xmDetailed=" + xmDetailed +
                ", xmOwnerid=" + xmOwnerid +
                ", xmJea=" + xmJea +
                ", xmJezb=" + xmJezb +
                ", xmJejc=" + xmJejc +
                ", xmJeyx=" + xmJeyx +
                ", xmTime=" + xmTime +
                ", xmOldtime=" + xmOldtime +
                '}';
    }
}